Skip to content
Snippets Groups Projects
Commit ebb7cf67 authored by stevereis's avatar stevereis
Browse files

fix: Issue throwing connector's errors

parent 6c9491da
No related branches found
No related tags found
No related merge requests found
......@@ -56,7 +56,7 @@ export class HeadersInterceptor implements NestInterceptor {
return next.handle().pipe(
catchError((e) => {
if (!e.response.data || !e.response.status) return e;
if (!e.response || !e.response.data || !e.response.status) throw e;
this.logger.log(e.message);
this.logger.verbose(
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment