Add error handler for server errors.
Add error handler for OMDB request, only do request if a query is passed.