diff --git a/src/actions/tickets/delete.ts b/src/actions/tickets/delete.ts
index 1985a08..c14cf0c 100644
--- a/src/actions/tickets/delete.ts
+++ b/src/actions/tickets/delete.ts
@@ -134,29 +134,27 @@
         }
     });
     if (deleted) {
-        try {
-            const { log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
-            let data = {
-                meta:{
-                    type: 'ticketPurge',
-                    displayName: 'Tickets Purged',
-                    calculateType: "ticketUpdate",
-                    color: NucleusColors.red,
-                    emoji: 'GUILD.TICKET.DELETE',
-                    timestamp: new Date().getTime()
-                },
-                list: {
-                    ticketFor: entry(member, renderUser(member)),
-                    deletedBy: entry(null, "Member left server"),
-                    deleted: entry(new Date().getTime(), renderDelta(new Date().getTime())),
-                    ticketsDeleted: deleted,
-                },
-                hidden: {
-                    guild: guild.id
-                }
+        const { log, NucleusColors, entry, renderUser, renderDelta } = member.client.logger
+        let data = {
+            meta:{
+                type: 'ticketPurge',
+                displayName: 'Tickets Purged',
+                calculateType: "ticketUpdate",
+                color: NucleusColors.red,
+                emoji: 'GUILD.TICKET.DELETE',
+                timestamp: new Date().getTime()
+            },
+            list: {
+                ticketFor: entry(member, renderUser(member)),
+                deletedBy: entry(null, "Member left server"),
+                deleted: entry(new Date().getTime(), renderDelta(new Date().getTime())),
+                ticketsDeleted: deleted,
+            },
+            hidden: {
+                guild: guild.id
             }
-            log(data);
-        } catch {}
+        }
+        log(data);
     }
 }
 
