1
Fork 0
photoview/api
viktorstrate 6e420dff41 Recover if EXIF decoding panics (#33)
This fixes #33 where a curtain image would cause the goexif2 library to
panic.

Now instead of crashing the entire program, it recovers and instead
prints an error to the console and ignores the EXIF data for that image.
2020-04-16 11:02:33 +02:00
..
.vscode Work towards subscriptions 2020-02-21 16:50:50 +01:00
database Add missing new dependency + cleanup 2020-04-15 20:52:08 +02:00
graphql Implement ScanAll resolver 2020-04-15 11:21:16 +02:00
routes Move spa handler to a separate file 2020-04-06 22:21:58 +02:00
scanner Recover if EXIF decoding panics (#33) 2020-04-16 11:02:33 +02:00
server Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
utils Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
example.env Rewrite environment variable configurations 2020-04-06 22:16:25 +02:00
go.mod Add missing new dependency + cleanup 2020-04-15 20:52:08 +02:00
go.sum Add replace debounce with throttle 2020-03-12 13:26:11 +01:00
gqlgen.yml Add exif parsing 2020-02-24 23:30:08 +01:00
server.go use log.Panicf instead of just panic 2020-04-15 16:20:09 +02:00