Skip to content

Commit 9a4eac7

Browse files
authored
Merge pull request #463 from segmentio/repo-sync
repo sync
2 parents ee9653f + 9ebd3a4 commit 9a4eac7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/connections/functions/source-functions.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ The `Segment.set()` method accepts an object with the following fields:
258258
- `id` - Object's unique identifier.
259259
- `properties` - Object with free-form data.
260260

261+
> warning ""
262+
> When you use the `set()` method, you won't see events in the Source Debugger. Segment only sends events to connected warehouses.
263+
261264
### Runtime and dependencies
262265

263266
{% include content/functions/runtime.md %}
@@ -347,11 +350,11 @@ async function onRequest(request, settings) {
347350
348351
### Error types
349352

350-
- **Bad Request** is any error thrown by your code not covered by the other errors.
353+
- **Bad Request**: is any error thrown by your code not covered by the other errors.
351354
- **Invalid Settings**: A configuration error prevented Segment from executing your code. If this error persists for more than an hour, [contact Segment Support](https://segment.com/help/contact/){:target="_blank"}.
352355
- **Message Rejected**: Your code threw `InvalidEventPayload` or `ValidationError` due to invalid input.
353356
- **Unsupported Event Type**: Your code does not implement a specific event type (`onTrack()`, etc.) or threw a `EventNotSupported` error.
354-
- **Retry** - Your code threw `RetryError` indicating that the function should be retried.
357+
- **Retry**: Your code threw `RetryError` indicating that the function should be retried.
355358

356359
Segment only attempts to run your source function again if a **Retry** error occurs.
357360

0 commit comments

Comments
 (0)