# boolean_smtp_debug_log_error

> Fires when a debug session could not be stored.

Action · Tier C · Since 1.0.0



## Signature

```php
add_action( 'boolean_smtp_debug_log_error', $callback, 10, 2 );
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `$message` | `string` | Failure detail. |
| `$lines` | `array<int, array<string, mixed>>` | The lines that were not stored. |

## Fires in

- [app/Repositories/DebugLogRepository.php:128](https://github.com/booleanpress/boolean-smtp-src/blob/main/app/Repositories/DebugLogRepository.php#L128) — `BooleanSmtp\Repositories\DebugLogRepository::store()`

## Example

```php
add_action( 'boolean_smtp_debug_log_error', function ( string $message, array $lines ) {
    // React to the event.
}, 10, 2 );
```
