Skip to content

Commit

Permalink
fix: lint errors in calendar store
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Oct 16, 2024
1 parent 680b3fa commit f984f7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/store/calendar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ import type {
import { useNotificatorStore } from './notificator';
import { useSettingsStore } from './settings';

const logger = useLogger('📅 Calendar');

export interface CalendarState {
activeCalendarIds: string[];
weeklyView: boolean;
Expand Down Expand Up @@ -116,7 +118,9 @@ export const useCalendarStore = defineStore('calendar', {

useSound().play({ name: 'notification' });
});
} catch (e) {}
} catch (e) {
logger.error('error while getting upcoming events', e);
}
},
// Calendars
async getCalendar(req: GetCalendarRequest): Promise<GetCalendarResponse> {
Expand Down

0 comments on commit f984f7d

Please sign in to comment.