aboutsummaryrefslogtreecommitdiff
path: root/src/profiling/SendTimelinePacket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/profiling/SendTimelinePacket.cpp')
-rw-r--r--src/profiling/SendTimelinePacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/profiling/SendTimelinePacket.cpp b/src/profiling/SendTimelinePacket.cpp
index e6e5ee7d5b..a0fbf5c01f 100644
--- a/src/profiling/SendTimelinePacket.cpp
+++ b/src/profiling/SendTimelinePacket.cpp
@@ -35,7 +35,7 @@ void SendTimelinePacket::ReserveBuffer()
// Check if there is enough space in the buffer
if (m_WriteBuffer == nullptr || reserved < m_Offset)
{
- throw RuntimeException("No space left on buffer", CHECK_LOCATION());
+ throw BufferExhaustion("No space left on buffer", CHECK_LOCATION());
}
m_BufferSize = reserved;
}