Skip to content

TaskView is a self-hosted project and task management platform focused on clarity, ownership, and control. TaskView is built for teams that want a transparent, self-hosted alternative to SaaS task managers.

242 B
Raw Blame
import { $logger } from '../modules/logget';

export function toResponse<T>(data: T) {
    return { response: data };
}

export function logError(err: any) {
    $logger.error('Error', { errorStack: err.stack, errorMessage: err.message });
}