Skip to content

Commit

Permalink
fix(userspace/falco): do not always rethrow the exception
Browse files Browse the repository at this point in the history
Co-Authored-By: Lorenzo Fontana <fontanalorenz@gmail.com>
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr and fntlnz committed Aug 25, 2020
1 parent e0b66ec commit 68617b8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion userspace/falco/falco.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1146,8 +1146,11 @@ int falco_init(int argc, char **argv)
falco_logger::log(LOG_ERR, "Unable to load the driver. Exiting.\n");
}
open_f(inspector);
}
else
{
rethrow_exception(current_exception());
}
rethrow_exception(current_exception());
}
}

Expand Down

0 comments on commit 68617b8

Please sign in to comment.