Merge pull request #11236 from appwrite/safeguard-span-finish

This commit is contained in:
Chirag Aggarwal
2026-02-03 18:32:32 +05:30
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ class Interval extends Action
} catch (\Exception $e) {
Span::error($e);
} finally {
Span::current()->finish();
Span::current()?->finish();
}
});
}
+1 -1
View File
@@ -124,7 +124,7 @@ class Messaging extends Action
Span::error($e);
throw $e;
} finally {
Span::current()->finish();
Span::current()?->finish();
}
}