July 2018 Summaries
2 posts from Rollbar
Filter
Month:
Year:
Post Summaries
Back to Blog
An analysis of common PHP errors reveals the top 10 issues developers encounter, with insights on their causes and prevention strategies. The most frequent error is the PHP Parse error, typically due to syntax issues like missing semicolons, while others include E_WARNING for invalid arguments in foreach loops, and various SQL-related exceptions such as integrity constraint violations and column not found errors. Additionally, errors related to HTTP requests, such as GuzzleHttp exceptions, occur due to client or server issues, and PDOExceptions arise from database connection problems. To mitigate these issues, developers are encouraged to use robust Integrated Development Environments (IDEs) like PhpStorm, alongside unit and integration testing tools like PHPUnit and Behat, to catch errors early in development. Rollbar offers a solution for monitoring and addressing PHP errors in production, providing tools like telemetry and local variable values to enhance debugging processes.
Jul 30, 2018
1,599 words in the original blog post.
Rollbar has introduced an error monitoring SDK specifically for the Go programming language, which is known for its simplicity, speed, and unique error-handling mechanisms. In Go, errors are managed using an error type that functions as an interface, allowing developers to implement custom error handling. The language also uses functions like defer and recover to manage runtime errors without traditional try-catch blocks. Rollbar's SDK enables developers to track and analyze errors in production applications by sending error data to an aggregation service, offering features such as a live error feed, stack traces, and user impact tracking. This allows for a more efficient debugging process and prioritization of high-impact issues, enhancing the overall stability and user experience of Go applications. Rollbar's service is designed to help developers manage errors more effectively in real-world scenarios, providing tools to capture comprehensive contextual data and improve troubleshooting efficiency.
Jul 03, 2018
1,306 words in the original blog post.