Comments (5)
You pass it as part of the setErrorHandler call. I would take a look at the Client.php source. It's pretty straightforward and easy to understand. On Thu, May 1, 2014 at 9:42 AM -0700, "Jens Segers" [email protected] wrote:
How do I pass the error level?
—Reply to this email directly or view it on GitHub.
from sentry-php.
Looking at the source code is not that pretty straightforward. I had to look at the documentation for Node.js to see that you are actually able to pass a level parameter in the options array.
from sentry-php.
@jenssegers the node client is very different than the PHP client (there is no level parameter AFAIK).
Pretty much all options are here:
https://github.com/getsentry/raven-php/blob/master/lib/Raven/Client.php
As for error handling, that's done through the utilities (described briefly in the README):
https://github.com/getsentry/raven-php/blob/master/lib/Raven/ErrorHandler.php#L91
from sentry-php.
I know it is different, but I did not know it was possible to pass a level paramater to Sentry as of then. The Node.js documentation mentions the level parameter, but this package does not.
"Go look at the source code" is not really a valid excuse in my opinion for open source projects.
from sentry-php.
I would argue that "asking questions on a bug tracker" is not a valid thing ;)
Anyways, we realize our docs are lacking, and as always, pull requests are welcome, but we'll be improving them as part of Sentry core in the future.
(Keep in mind that I'm pretty sure theres no level parameter in the PHP client as you're describing, and each client is very different as it has to support the underlying platform)
from sentry-php.
Related Issues (20)
- SpotlightJS - override URL/port for sidecar
- Profiling/Performance not recorded HOT 4
- PHP7 compatibility HOT 5
- Add SAPI used to events
- Add a way to cleanup error and exception handlers HOT 7
- Improve debugging experience
- Add support for `AWS_LAMBDA_FUNCTION_VERSION` env var
- [3.x] Symfony HTTP Client in transport silently upgrades to HTTP/2 and makes HttpTransport fail HOT 1
- Possibility to implement memory limit/hooks for cli / infinite commands HOT 2
- traceparent header missing trace-flags HOT 2
- Initialize the SDK using php auto-prepend-file HOT 1
- `TransactionIntegration` should always set a transaction
- Compile Error: Declaration of Http\Message\Encoding\FilteredStream::seek(int $offset, int $whence = Http\Message\Encoding\SEEK_SET): void must be compatible with PsrExt\Http\Message\StreamInterface::seek($offset, $whence = NULL) HOT 8
- Make it clear in the docs how `send_default_pii`detects "personally identifiable information"
- Metrics Rate Limits
- Ability to filter request input from being sent to Sentry HOT 4
- Feature request: User feedback capturing feature HOT 1
- Deprecated: Use of "static" in callables is deprecated in /app/vendor/sentry/sentry/src/Serializer/AbstractSerializer.php on line 264 HOT 6
- Metrics Normalization
- Strings that happen to be a php function are reported as a callable
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sentry-php.