복잡한 설정 없이, 핵심 기능만 담았습니다.
JavaScript 에러, Promise rejection, 네트워크 에러를 자동으로 수집합니다.
에러 발생 전 사용자의 행동을 녹화하여 재현 없이 디버깅하세요.
Slack, Discord, 이메일로 즉시 알림을 받으세요.
프로덕션 에러도 원본 코드 위치를 정확히 파악합니다.
Error Boundary와 Hooks로 React 앱에 쉽게 통합하세요.
타입 정의가 포함되어 있어 자동완성이 됩니다.
복잡한 설정? 필요 없습니다.
import BugShot from '@bugshot/browser-sdk';
BugShot.init({
apiKey: 'your-api-key-here'
});
// 끝! 이제 모든 에러가 자동으로 수집됩니다.import { BugShotProvider, ErrorBoundary } from '@bugshot/react';
function App() {
return (
<BugShotProvider config={{ apiKey: 'your-api-key' }}>
<ErrorBoundary>
<YourApp />
</ErrorBoundary>
</BugShotProvider>
);
}try {
await riskyOperation();
} catch (error) {
BugShot.captureError(error);
}