mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 21:55:38 +00:00
Add throwable to try/catch block
This commit is contained in:
parent
3dc960c0d1
commit
7d30396d0c
|
@ -254,6 +254,8 @@
|
||||||
"body": [
|
"body": [
|
||||||
"try {",
|
"try {",
|
||||||
"\t${1://code...}",
|
"\t${1://code...}",
|
||||||
|
"} catch (\\Throwable \\$$t) {",
|
||||||
|
"\t${2://throw $$t;}",
|
||||||
"} catch (\\Exception \\$$e) {",
|
"} catch (\\Exception \\$$e) {",
|
||||||
"\t${2://throw $$e;}",
|
"\t${2://throw $$e;}",
|
||||||
"}"
|
"}"
|
||||||
|
|
Loading…
Reference in a new issue