We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bab1e7d commit 6f2cee3Copy full SHA for 6f2cee3
1 file changed
src/shvarov/objectscript/errors.cls
@@ -1,7 +1,7 @@
1
Class shvarov.objectscript.errors
2
{
3
4
-ClassMethod DIVIDE() As %Status
+ClassMethod DIVIDE(verbose=0) As %Status
5
6
set sc=$$$OK
7
try {
@@ -11,7 +11,7 @@ ClassMethod DIVIDE() As %Status
11
do e.Log()
12
set sc=e.AsStatus()
13
}
14
- if 'sc do $System.OBJ.DisplayError(sc)
+ if 'sc,verbose do $System.OBJ.DisplayError(sc)
15
quit sc
16
17
0 commit comments