FEAT: update nimbus after input

This commit is contained in:
marcos-silva-rodrigues
2026-03-24 12:28:20 -03:00
parent 959210e354
commit 21c57e5620
10 changed files with 140 additions and 46 deletions
@@ -89,12 +89,12 @@ export class PlatformApiService {
// Propagate non-2xx responses as HttpExceptions
if (response.status >= 400) {
this.logger.error('Platform API upstream error', {
this.logger.error('Platform API upstream error' + JSON.stringify({
status: response.status,
data: response.data,
path,
method: method.toUpperCase(),
});
}));
throw new HttpException(response.data, response.status);
}
@@ -107,6 +107,8 @@ export class PlatformApiService {
method: method.toUpperCase(),
});
this.logger.error(error)
if (error instanceof HttpException) {
throw error;
}