SparkPost / SparkPost/developers.sparkpost.com

Display the exact error message when validating templates

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

Nobody has claimed this yet.

Dominant language
API Blueprint
Stars
18
Forks
9
Avg merge
2d 1h
Merged PRs (30d)
3

Description

Small suggestion that would significantly improve the DX when working with templates: display the actual error instead of just the line number.

Here's my current flow every time I run into an error (which is common when importing templates):

Sparkpost display more useful error message

Contributor guide

Open the contributing guide

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

The issue describes template validation during template import but names no file, test, or entry point. First reproduce the validation error and locate the UI that currently displays only the line number; done means the actual validation error is displayed instead.

Written by the indexing model from the issue text.

Assessment

Domain
developer-experience, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.