Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GET undefined symbol results in 500 Server error #1

Open
RodneyRichardson opened this issue Feb 11, 2021 · 1 comment
Open

GET undefined symbol results in 500 Server error #1

RodneyRichardson opened this issue Feb 11, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@RodneyRichardson
Copy link

In the default server, calling GET: /symbols/test3 results in 500 Server error. I would have expected a 404.

System.ArgumentException: Symbol not found! at SoftBeckhoff.Services.BeckhoffServer.ReadSymbol(String name) in /app/Services/BeckhoffServer.cs:line 67 at SoftBeckhoff.Services.BeckhoffService.GetSymbol(String name) in /app/Services/BeckhoffService.cs:line 46 at lambda_method(Closure , Object , Object[] ) at Microsoft.Extensions.Internal.ObjectMethodExecutor.Execute(Object target, Object[] parameters) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeActionMethodAsync() at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeNextActionFilterAsync()

@fbarresi fbarresi self-assigned this Feb 11, 2021
@fbarresi
Copy link
Owner

Hi!
Thank you for reporting. Woow! You've opened my first issue on this repo!
I will fix it.

@fbarresi fbarresi added the enhancement New feature or request label Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants