Catch exceptions so it doesnt break other plugins