mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-24 01:18:01 +02: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);
|
const errors = validateSchema<S>(schema, data);
|
||||||
|
|
||||||
if (errors) {
|
if (errors) {
|
||||||
this.logger.debug('Invalid response:', errors);
|
this.logger.debug(
|
||||||
|
'Invalid response:',
|
||||||
|
JSON.stringify(errors, null, 4),
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.entries(headers).forEach(([header, value]) =>
|
Object.entries(headers).forEach(([header, value]) =>
|
||||||
|
Loading…
Reference in New Issue
Block a user