Skip to content

Commit 8b658a9

Browse files
committed
add extra error information for import
1 parent 8951e12 commit 8b658a9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

sc.alles.cls

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ ClassMethod import(filemask = "*.*", qspec = "cku-d", ByRef err = "", recurse =
8686
#define push(%dir) s dirs( $i( dirs ) ) = %dir
8787
#define next(%i,%dir) s %i=$o( dirs( "" ), 1, %dir ) k:%i'="" dirs(%i)
8888
#define isDirectory(%type) ( %type = "D" )
89-
#define log w !, filename, " ", +sc
90-
89+
#define log w !, filename, " ", +sc, $S(sc=1:"",1: " "_$system.Status.GetOneErrorText(sc))
90+
9191
s sc = 1, dirs = "", dir = ..workdir() $$$push(dir)
9292

9393
for { $$$next(i,dir) Q:i="" Q:dir=""
@@ -253,3 +253,4 @@ ClassMethod codets(codename, ext)
253253
}
254254

255255
}
256+

0 commit comments

Comments
 (0)