Skip to content

Commit 05c913b

Browse files
committed
refactor: Remove logger from InvoiceSupabaseRepository
1 parent 9b7d532 commit 05c913b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/invoice/invoice-repository.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { z } from 'zod';
22
import { createClient, SupabaseClient } from '@supabase/supabase-js';
33
import { Database, Invoice, Service, Webhook } from '../types';
4-
import { logger } from '../logger';
54
import { NotFoundException, ServerException } from '../responses';
65
import { invoiceCreateSchema, invoiceUpdateSchema } from './invoices-schema';
76
import { generateInvoiceId } from '../utils';
@@ -95,7 +94,6 @@ export class InvoiceSupabaseRepository implements InvoiceRepository {
9594
.single();
9695

9796
if (error) {
98-
logger.error('Supabase error', error);
9997
throw new Error(error.message);
10098
}
10199

0 commit comments

Comments
 (0)