Skip to content
Snippets Groups Projects
Commit d1e2ba40 authored by KyleKlenk's avatar KyleKlenk
Browse files

Add better error message for fileAccessActor

parent 9cd6dbaa
No related branches found
No related tags found
1 merge request!5add in compiler def ACTORS_ACTIVE to turn on some stuff so can move...
......@@ -41,6 +41,11 @@ behavior file_access_actor(stateful_actor<file_access_state>* self, int start_gr
&self->state.num_gru, // Filler for num_hrus
&self->state.gru_actor_stats,
&self->state.err);
if (self->state.err != 0) {
aout(self) << "ERROR: File Access Actor - File_Access_init_Fortran\n";
self->send(self->state.parent, file_access_error::unhandleable_error, self);
return {};
}
aout(self) << "Simluations Steps: " << self->state.num_steps << "\n";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment