Update try/catch syntax (#13732)
Update try/catch syntax to prepare for eslint migration
This commit is contained in:
@@ -100,7 +100,7 @@ const evalFromContext = (input: string, context: Record<string, unknown>) => {
|
||||
});
|
||||
|
||||
return JSON.parse(inferredInput) ?? '';
|
||||
} catch (exception) {
|
||||
} catch {
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user