aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Script.hpp
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-12-12 22:45:30 +0100
commit1d1c256eea43a3d0685919ed2997e10990ef639f (patch)
tree99f85ea9d8852ba3e33a05df699f028f29d3f9d1 /src/crepe/api/Script.hpp
parent23196be83778973d9688cc5d465e4e4a16476568 (diff)
`make format`
Diffstat (limited to 'src/crepe/api/Script.hpp')
-rw-r--r--src/crepe/api/Script.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crepe/api/Script.hpp b/src/crepe/api/Script.hpp
index b42a6df..4462a41 100644
--- a/src/crepe/api/Script.hpp
+++ b/src/crepe/api/Script.hpp
@@ -48,7 +48,8 @@ void Script::subscribe_internal(const EventHandler<EventType> & callback,
try {
ReplayManager & replay = this->mediator->replay_manager;
if (replay.get_state() == ReplayManager::PLAYING) return false;
- } catch (const std::runtime_error &) {}
+ } catch (const std::runtime_error &) {
+ }
// call user-provided callback
return callback(data);