Any idea what "Unhandled exception in spawn" means? I can def dig into it any figure it out, but if it's something simple...
$ make test
/opt/local/bin/crystal spec
......................................
Finished in 53.99 milliseconds
38 examples, 0 failures, 0 errors, 0 pending
$ bin/franklin chamber of secrets
Unhandled exception in spawn: Index out of bounds (IndexError)
from ~procProc(Nil)@src/franklin/concurrent_search.cr:13
from Fiber#run:(IO::FileDescriptor | Nil)
$ crystal -v
Crystal 0.27.0 (2019-01-05)
LLVM: 6.0.1
$ cat ~/.franklin
libraries:
- name: San Francisco Public Library
url: http://sfpl.lib.overdrive.com
- name: Berkeley Public
url: https://berkeleypubliclibrary.overdrive.com
- name: Alameda County
url: https://aclibrary.overdrive.com
default_type: eBook # Optional, will show all types if not set.
I've never written any Crystal before. :-)
Next up: a PR to set exit code when nothing is found.