August 2023

Monitor logs in Laravel Telescope in production environment

Last Updated on August 28, 2023 by Moh The Laravel Telescope package is great for debugging your application when you’re working on your application in the local environment. It provides insight into the requests coming into your application, exceptions, log entries, database queries, queued jobs, mail, notifications, cache operations, scheduled tasks, variable dumps, and various other things in

Monitor logs in Laravel Telescope in production environment Read More »

Axios Errors Handling

Last Updated on August 25, 2023 by Moh With try-catch async function fetchData() {  try {    const response = await axios.get(‘https://api.example.com/data’);    // Process successful response data  } catch (error) {    if (error.response) {      // Server responded with a status code outside the range of 2xx      console.log(‘Server Error:’, error.response.data); 

Axios Errors Handling Read More »