mirror of
https://github.com/simstudioai/sim.git
synced 2026-02-15 17:05:14 -05:00
fix(logs): surface handled errors as info in logs (#3190)
* fix(logs): surface handled errors as info in logs * pr comments
This commit is contained in:
@@ -292,6 +292,9 @@ export class BlockExecutor {
|
||||
|
||||
const hasErrorPort = this.hasErrorPortEdge(node)
|
||||
if (hasErrorPort) {
|
||||
if (blockLog) {
|
||||
blockLog.errorHandled = true
|
||||
}
|
||||
logger.info('Block has error port - returning error output instead of throwing', {
|
||||
blockId: node.id,
|
||||
error: errorMessage,
|
||||
|
||||
Reference in New Issue
Block a user