import { startServer } from './server.js';

const server = startServer();

server.once('error', (error) => {
  console.error('[ONLYCOIN SUNUCU HATASI]');
  console.error(error?.stack || error?.message || String(error));
  process.exitCode = 1;
});
