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:
parent
c8f15c7abc
commit
3387e6fc39
@ -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]) =>
|
||||
|
Loading…
Reference in New Issue
Block a user