summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/os.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index 32fa2885e..181bc5728 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -1427,7 +1427,7 @@ proc expandFilename*(filename: string): string {.rtl, extern: "nos$1",
     for x in walkFiles(result.string):
       result = x
     if not existsFile(result) and not existsDir(result):
-      raise newException(OSError, "file does not exist")
+      raise newException(OSError, "file '" & result & "' does not exist")
   else:
     # according to Posix we don't need to allocate space for result pathname.
     # But we need to free return value with free(3).
readable.py?h=v1.9.3&id=eaaeed3da091fb293825403025dcc4a6dbd4dce3'>eaaeed3d ^
871c502d ^



a1274aba ^
871c502d ^
9c2bd85d ^
871c502d ^

c0175f6d ^
ea87d005 ^
871c502d ^



a1274aba ^
871c502d ^

a1274aba ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36