Skip to content

Commit 84ebb7b

Browse files
Copilotxavierarpa
andcommitted
Address code review feedback: add exception type to catch block
Co-authored-by: xavierarpa <44328679+xavierarpa@users.noreply.github.com>
1 parent f5b265e commit 84ebb7b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Editor/JsonScriptableObjectEditor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -740,9 +740,9 @@ private JsonValue ParseClipboardValue()
740740
var parsed = JsonValue.Parse(clipboard);
741741
return parsed;
742742
}
743-
catch
743+
catch (System.Exception)
744744
{
745-
// Fall through to treat as plain string
745+
// Parsing failed, fall through to treat as plain string
746746
}
747747
}
748748

0 commit comments

Comments
 (0)