mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 10:19:08 +00:00
Only log zod when there's an error
This commit is contained in:
@@ -503,7 +503,6 @@ async function _promiseAjax<Type extends ResponseType, OutputShape>(
|
||||
) {
|
||||
if (options.zodSchema) {
|
||||
result = parseUnknown(options.zodSchema, result);
|
||||
log.info(logId, 'Zod schema applied');
|
||||
}
|
||||
if (options.validateResponse) {
|
||||
if (!_validateResponse(result, options.validateResponse)) {
|
||||
|
||||
Reference in New Issue
Block a user