You can do this instead of above 2 lines:

```ruby
Chef::Application.fatal!("Timeout exceeded while node #{result.name} syncing..")
```