Skip to content

Commit ea62667

Browse files
Print error from parquet call
Add `err.message()` to the printed message where previously we didn't actually print what the error was. [Reviewed by @benharsh]
2 parents cfa584a + df82d70 commit ea62667

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Parquet.chpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ module Parquet {
135135
// TODO this should be a thrown error in exitContext.
136136
// https://github.com/chapel-lang/chapel/issues/27764
137137
if err {
138-
halt(try! "Unhandled error in extern call %s.%s (%i)".format(
139-
modName, procName, lineNo));
138+
halt(try! "Unhandled error in extern call %s.%s (%i): %s".format(
139+
modName, procName, lineNo, err!.message()));
140140
}
141141
}
142142

0 commit comments

Comments
 (0)