NetsBlox / NetsBlox/services

Throw errors in Geolocation Service?

Open
#55 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
1
Forks
2
Avg merge
5m
Merged PRs (30d)
1

Description

The Geolocation service currently returns "null" if an error occurs. Is this the best approach? It is pretty annoying in the tests...

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Geolocation service implementation and any tests covering error handling. First determine how service errors currently become null and whether callers expect a particular error contract. Compare the alternatives in the issue, then define the expected failure behavior and add tests that show what done looks like.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.