Skip to content

Commit b57de55

Browse files
committed
Merge pull request #12 from launchdarkly/jko/namespace-exn
Namespace exceptions
2 parents 3f09e2a + 8ae9966 commit b57de55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/LaunchDarkly/LDClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,12 @@ public function toggle($key, $user, $default = false) {
8080
$this->_sendFlagRequestEvent($key, $user, $flag);
8181
return $flag;
8282
}
83-
} catch (Exception $e) {
83+
} catch (\Exception $e) {
8484
error_log("LaunchDarkly caught $e");
8585
try {
8686
$this->_sendFlagRequestEvent($key, $user, $default);
8787
}
88-
catch (Exception $e) {
88+
catch (\Exception $e) {
8989
error_log("LaunchDarkly caught $e");
9090
}
9191
return $default;

0 commit comments

Comments
 (0)