Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/GitHub.Api/Events/RepositoryWatcher.cs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public void Start()
if (nativeInterface == null)
{
Logger.Warning("NativeInterface is null");
throw new Exception("Not initialized");
throw new InvalidOperationException("NativeInterface is null");
}

running = true;
Expand Down
2 changes: 1 addition & 1 deletion src/GitHub.Api/OutputProcessors/StatusOutputProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public override void LineReceived(string line)
}
else
{
throw new Exception("Unexpected deltaComponent in o");
throw new InvalidOperationException("Unexpected deltaComponent in o");
}
}
}
Expand Down