[**@s4ai/core Documentation v0.3.23**](../../../README.md)

***

[@s4ai/core Documentation](../../../modules.md) / [services/sentry](../README.md) / initializeSentry

# Function: initializeSentry()

> **initializeSentry**(`app`): `boolean`

Defined in: services/sentry.js:64

Initialize Sentry (legacy function for backward compatibility)
Sentry is already initialized at module load time and in instrument.js

## Parameters

### app

`any`

Express application instance

## Returns

`boolean`

- Whether Sentry is initialized
