---
title: oban.scheduler_exception
description: Oban's cron scheduler loop raised an exception while evaluating schedules.
url: https://docs.honeybadger.io/insights/event-types/python/oban.scheduler_exception/
---

Oban’s cron scheduler loop raised an exception while evaluating schedules.

Source **Oban** Category **Jobs** Fields **6** [honeybadger-python](https://docs.honeybadger.io/lib/python/)

## Fields

| Field           | Type   | Description                                                                                    |
| --------------- | ------ | ---------------------------------------------------------------------------------------------- |
| `event_type`    | string | Allowed value: `oban.scheduler_exception`.                                                     |
| `loop`          | string | Name of the Oban maintenance loop that raised. Allowed value: `scheduler`.                     |
| `event`         | string | The underlying Oban telemetry event name. Allowed values: `oban.scheduler.evaluate.exception`. |
| `error_type`    | string | Exception class name.                                                                          |
| `error_message` | string | Exception message.                                                                             |
| `duration`      | number | Duration of the failed loop iteration in milliseconds.                                         |

## Example

```json
{
  "event_type": "oban.scheduler_exception",
  "loop": "scheduler",
  "event": "oban.scheduler.evaluate.exception",
  "error_type": "OperationalError",
  "error_message": "connection to server was lost",
  "duration": 3.1415
}
```

---

## Try Honeybadger for FREE

Intelligent logging, error tracking, and Just Enough APM™ in one dev-friendly platform. Find and fix problems before users notice.

[Start free trial](https://app.honeybadger.io/users/sign_up)

[See plans and pricing](https://www.honeybadger.io/plans/)
