Handle exceptions in url expansion bolt