bendevorg / bendevorg/reporter

ReferenceError: sendError is not defined

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

View details in Rollbar: [https://rollbar.com/guiconti/reporter/items/2/](https://rollbar.com/guiconti/reporter/items/2/)

```

ReferenceError: sendError is not defined
File "/Users/guiconti/GitHub/reporter/server/core/router.js", line 14, in Object.
router.post('/report/:telegram_id', sendError);
File "module.js", line 569, in Module._compile
File "module.js", line 580, in Object.Module._extensions..js
File "module.js", line 503, in Module.load
File "module.js", line 466, in tryModuleLoad
File "module.js", line 458, in Function.Module._load
File "module.js", line 513, in Module.require
File "internal/module.js", line 11, in require
File "/Users/guiconti/GitHub/reporter/tools/serverDevelopment.js", line 7, in Object.
const router = require('../server/core/router.js');
File "module.js", line 569, in Module._compile
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with server/core/router.js at the POST /report/:telegram_id route, then read tools/serverDevelopment.js to understand how the router is loaded. Run the development server entry point and confirm the router loads without the ReferenceError and that the reporting route has a defined handler.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.