An attempt to capture errors