We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b9c9e90 commit a80914eCopy full SHA for a80914e
lib/std/private/osappdirs.nim
@@ -67,9 +67,9 @@ when defined(unix): # XXX: suitable?
67
if p.isNil:
68
if nomem:
69
raise newException(OutOfMemDefect, "")
70
- else:
71
- raise newException(KeyError,
72
- "getpwnam(): name not found: " & username.repr)
+ #else: ...KeyError "getpwnam(): name not found: " & username.repr
+ # XXX: do not raise KeyError, as it used to raise no CatchableError.
+ # e.g. `osproc.findExe(data.sysCommand, true, ExeExts)` expects so
73
else:
74
result = ""
75
if not getPwDir(p, result):
0 commit comments