Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
errorhandlr
Advanced tools
A module for smarter and faster debugging / exception handling node.js projects.
Right now, all this module does is capture any unhandled exceptions you have in the wild and log them to a remote database. My goal is to collect as much data about common exceptions and error states as possible so I can try to find ways to shorten the time between bug and solution. As I collect data, I'll be pushing updates, which I will ask you to install from time to time.
For being an alpha tester, you'll earn something cool down the road if this works out well enough.
Install the library via npm and save it to your package json:
$ npm install errorhandlr --save
Once you have the library installed, engage the logger with the following snippet at the top of any file that you run directly:
var ErrorHandlr = require('errorhandlr').engage();
Now proceed to code as normal. Any uncaught exceptions you encounter will be logged.
To use the module with express, require the module and engage it as you normally would:
var ErrorHandlr = require('errorhandlr').engage();
Now, add the following handler below your route definitions:
Express 3.x:
app.use(ErrorHandlr.express())
Express 2.x:
app.error(ErrorHandlr.express())
If you ever need to disengage the script, you can do so with the following code:
ErrorHandlr.disengage();
FAQs
Secret sauce.
We found that errorhandlr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.