Skip to content

Commit 6f2cee3

Browse files
authored
Add verbose parameter to DIVIDE
1 parent bab1e7d commit 6f2cee3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/shvarov/objectscript/errors.cls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Class shvarov.objectscript.errors
22
{
33

4-
ClassMethod DIVIDE() As %Status
4+
ClassMethod DIVIDE(verbose=0) As %Status
55
{
66
set sc=$$$OK
77
try {
@@ -11,7 +11,7 @@ ClassMethod DIVIDE() As %Status
1111
do e.Log()
1212
set sc=e.AsStatus()
1313
}
14-
if 'sc do $System.OBJ.DisplayError(sc)
14+
if 'sc,verbose do $System.OBJ.DisplayError(sc)
1515
quit sc
1616
}
1717

0 commit comments

Comments
 (0)