Skip to content

Commit

Permalink
Print stack trace after failure to load FDML file
Browse files Browse the repository at this point in the history
  • Loading branch information
lindholc committed Jul 9, 2024
1 parent 9623722 commit d1a35d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/main/scala/latis/catalog/FdmlCatalog.scala
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ object FdmlCatalog {
Files[IO].list(dir, "*.fdml").flatMap { f =>
pathToDataset(f, validate, opReg).fold(
t => {
Stream.eval(IO.println(s"[WARN] Fdml dataset dropped: $f. $t")) >> //TODO: log
Stream.eval(IO.println(s"[WARN] Fdml dataset dropped: $f.")) >> //TODO: log
Stream.eval(IO(t.printStackTrace)) >>
Stream.empty
},
Stream.emit
Expand Down

0 comments on commit d1a35d1

Please sign in to comment.