-func CallExternalService(tag string, timeout time.Duration, routine func() *Error) *Error {
- routineDone := make(chan *Error)
+func CallExternalService(tag string, timeout time.Duration, routine func() error) error {
+ routineDone := make(chan error)