handler: add KeyError except clause for catching people that didn't enter their API key correctly