MCPcopy
hub / github.com/gitify-app/gitify / rendererLogError

Function rendererLogError

src/renderer/utils/core/logger.ts:47–54  ·  view source on GitHub ↗
(
  type: string,
  message: string,
  err: Error,
  notification?: GitifyNotification,
)

Source from the content-addressed store, hash-verified

45 * @param notification - Optional notification to include as context in the log entry.
46 */
47export function rendererLogError(
48 type: string,
49 message: string,
50 err: Error,
51 notification?: GitifyNotification,
52) {
53 logError(type, message, err, buildContexts(notification));
54}
55
56function buildContexts(notification?: GitifyNotification): string[] {
57 if (!notification) {

Callers 14

generateGitHubWebUrlFunction · 0.90
getAllNotificationsFunction · 0.90
enrichNotificationFunction · 0.90
refreshAccountFunction · 0.90
pollGitHubDeviceFlowFunction · 0.90
logger.test.tsFile · 0.90
raiseSoundNotificationFunction · 0.90
initializeDeviceFlowFunction · 0.90
startPollingFunction · 0.90
LoginWithOAuthAppRouteFunction · 0.90

Calls 2

logErrorFunction · 0.90
buildContextsFunction · 0.85

Tested by

no test coverage detected