--- title: 'Create an attempt() helper for calls that can silently fail' tweet_id: '1464247622558896129' thread_slug: weekly-thread-2021-47 author_username: mattkingshott images: - 'https://pbs.twimg.com/media/FE9oLAyX0AAhIM8.jpg' created_at: 2021-11-26T15:00:12+00:00 slug: create-an-attempt-helper-for-calls-that-can-silently-fail --- 💡#Laravel Tip: Here's a useful little helper for when you need to run some code, but don't really need to handle any exceptions it might generate.