aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web/Controllers/ErrorController.cs
blob: 560b0da2fcb7450f9c919e32eeb118195c058fb8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Net;
using System.Net.Http;
using Microsoft.AspNetCore.Mvc;

namespace DevHive.Web.Controllers
{
	[ApiController]
	[Route("/api/[controller]")]
	public class ErrorController
	{
		[HttpGet]
		public HttpStatusCode HttpError(HttpRequestException exception)
		{
			Console.WriteLine("WE HERE, BOIIIIIII");

			return HttpStatusCode.OK;
		}
	}
}