Add error handling for no gif result