mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Merge pull request #11236 from appwrite/safeguard-span-finish
This commit is contained in:
@@ -65,7 +65,7 @@ class Interval extends Action
|
||||
} catch (\Exception $e) {
|
||||
Span::error($e);
|
||||
} finally {
|
||||
Span::current()->finish();
|
||||
Span::current()?->finish();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -124,7 +124,7 @@ class Messaging extends Action
|
||||
Span::error($e);
|
||||
throw $e;
|
||||
} finally {
|
||||
Span::current()->finish();
|
||||
Span::current()?->finish();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user