Deno
👀 Getting Started
⚙️ Integrating
import { BugSplat } from 'https://esm.sh/[email protected]';const bugsplat = new BugSplat('DatabaseName', 'AppName', '1.0.0');try {
throw new Error("BugSplat");
} catch (error) {
await bugsplat.post(error);
}Promise.reject(new Error("BugSplat!")).catch(error => bugsplat.post(error, {}));await bugsplat.post(error, getAdditionalOptionsWithLogFile());
function getAdditionalOptionsWithLogFile() {
const filename = 'log.txt';
return {
additionalFormDataParams: [{
key: 'file',
value: new File([Deno.readFileSync(filename)], filename),
filename: filename,
}],
};
}🧪 Sample
📈 Viewing Reports


🧩 API
🤝 Contributing
Last updated
Was this helpful?
