1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-23 00:22:19 +01:00

JSON stringify errors to view more info of params (#3033)

This commit is contained in:
Thu Vo 2023-02-07 15:21:09 +07:00 committed by GitHub
parent c8f15c7abc
commit 3387e6fc39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,10 @@ export class OpenApiService {
const errors = validateSchema<S>(schema, data);
if (errors) {
this.logger.debug('Invalid response:', errors);
this.logger.debug(
'Invalid response:',
JSON.stringify(errors, null, 4),
);
}
Object.entries(headers).forEach(([header, value]) =>