Skip to content

Commit

Permalink
fix: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
alufers committed Apr 13, 2024
1 parent 3f1ead4 commit 42d1b3d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/main/app/BerryBind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ void VmState::execute_string(const std::string& data,
stdoutCallback("\n", 1);
}
throw BerryErrorException(errorMessage);

}
} else {
auto errorMessage = dumpException();
Expand All @@ -124,7 +123,7 @@ void VmState::execute_string(const std::string& data,
stdoutCallback(errorMessage.c_str(), errorMessage.size());
stdoutCallback("\n", 1);
}
throw BerryErrorException(errorMessage);
throw BerryErrorException(errorMessage);
}
be_pop(vm, 1);
}
Expand Down

0 comments on commit 42d1b3d

Please sign in to comment.