Skip to content

Commit

Permalink
No need to log (or check if logging) if no error (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfalbel authored Oct 31, 2024
1 parent dc41b10 commit d7c4977
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion inst/include/lantern/lantern.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ if ((lanternLogEnabled & 2) == 2) { \
extern std::string *pLanternLastError;
#endif
#define LANTERN_FUNCTION_START \
LLOG("Entering %s", __func__) \
try {
#define LANTERN_FUNCTION_END_RET(ret) \
} catch(const std::exception& ex) { \
Expand Down
1 change: 0 additions & 1 deletion src/lantern/include/lantern/lantern.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ if ((lanternLogEnabled & 2) == 2) { \
extern std::string *pLanternLastError;
#endif
#define LANTERN_FUNCTION_START \
LLOG("Entering %s", __func__) \
try {
#define LANTERN_FUNCTION_END_RET(ret) \
} catch(const std::exception& ex) { \
Expand Down

0 comments on commit d7c4977

Please sign in to comment.