1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-26 19:48:01 +02:00

Fixed error string

This commit is contained in:
Brian Fiete 2020-05-13 07:39:56 -07:00
parent 5e5084886c
commit 740b00629a

View file

@ -114,7 +114,7 @@ namespace System
case .Ok(var val): return val;
case .Err(var err):
{
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n ", err), 2);
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n {}", err), 2);
}
}
}
@ -190,7 +190,7 @@ namespace System
{
if (this case .Err(var err))
{
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n ", err), 1);
Internal.FatalError(scope String()..AppendF("Unhandled error in result:\n {}", err), 1);
}
NoDispose<T>();
NoDispose<TErr>();