was was written e.message to last_error and this broke the yaml