---
title: "Codeunit 450 Job Queue Error Handler"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/
type: codeunit
id: 450
name: "Job Queue Error Handler"
app: "Base Application"
namespace: System.Threading
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 450 Job Queue Error Handler

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/450-job-queue-error-handler/

| | |
| --- | --- |
| App | Base Application |
| Namespace | System.Threading |
| Versions | 17-28 |
| Source file | Modules/System/JobQueue/JobQueueErrorHandler.Codeunit.al |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterLogError | (var Record Job Queue Entry) | 17-24 | - | - |
| Integration event | OnBeforeLogError | (var Record Job Queue Log Entry, var Record Job Queue Entry) | 17-28 | - | - |
| Integration event | OnLogErrorOnAfterJobQueueLogEntryModify | (var Record Job Queue Entry) | 18-26 | Pending 24.0 | Event no longer relevant, it does the exact same as OnAfterLogError() and OnLogErrorOnAfterJobQueueLogEntryFinalizeLogEntry() is obsoleted. |
| Integration event | OnLogErrorOnAfterJobQueueLogEntryFinalizeLogEntry | (var Record Job Queue Entry) | 18-26 | Pending 24.0 | Event no longer relevant. Log entries should not be inserted if the job queue dispatcher did not manage to run the job. |
| Integration event | OnAfterLogError | (var Record Job Queue Entry, var Record Job Queue Log Entry) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
