Skip to content

Commit

Permalink
Trivial error message fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harryz2000 committed Sep 25, 2024
1 parent 3df0bb4 commit 38d05ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/EventLoop.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ class EventLoop : public TimeService
*/
virtual void OnPollError(int fd, const std::string& errorMsg)
{
throw std::runtime_error("-RTMPClientConnection::OnPollError() Error occurred: " + errorMsg);
throw std::runtime_error("-EventLoop::OnPollError() Error occurred: " + errorMsg);
};

/**
Expand All @@ -151,7 +151,7 @@ class EventLoop : public TimeService
*/
virtual void OnSignallingError(const std::string& errorMsg)
{
throw std::runtime_error("-RTMPClientConnection::OnSignallingError() Error occurred: " + errorMsg);
throw std::runtime_error("-EventLoop::OnSignallingError() Error occurred: " + errorMsg);
}

/**
Expand Down

0 comments on commit 38d05ad

Please sign in to comment.