mirror of
https://github.com/janet-lang/janet
synced 2026-11-27 17:33:09 +00:00
Merge pull request #1663 from McSinyx/dobytes-err-keep
Keep dobytes' error string
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -122,7 +122,8 @@ int janet_dobytes(JanetTable *env, const uint8_t *bytes, int32_t len, const char
|
||||
janet_loop();
|
||||
if (fiber) {
|
||||
janet_gcunroot(janet_wrap_fiber(fiber));
|
||||
ret = fiber->last_value;
|
||||
if (!errflags)
|
||||
ret = fiber->last_value;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user