Fix error handling in screenshot API
Merge branch 'dev' of https://github.com/N4SJAMK/teamboard-api into dev