Skip to content

Commit

Permalink
refactor: 전역 ErrorTemplate을 사용하도록 수정한다
Browse files Browse the repository at this point in the history
  • Loading branch information
devxb committed Mar 7, 2024
1 parent db5f3bc commit adedc21
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 38 deletions.
3 changes: 2 additions & 1 deletion auth/auth-interceptor/build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
dependencies {
implementation project(':auth:auth-application')

implementation project(':core:exception-handler')

implementation 'org.springframework.boot:spring-boot-starter-web'
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package me.nalab.auth.interceptor;

import me.nalab.core.exception.handler.ErrorTemplate;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.bind.annotation.ResponseStatus;
Expand Down

This file was deleted.

3 changes: 2 additions & 1 deletion gallery/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ repositories {

dependencies {
implementation project(":core:data")
implementation project(":core:id-generator:id-core")
implementation project(":core:time")
implementation project(":core:exception-handler")
implementation project(":survey:survey-application")
implementation project(":core:id-generator:id-core")

implementation "org.springframework.boot:spring-boot-starter-web"
implementation "org.springframework.boot:spring-boot-starter-data-jpa"
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package me.nalab.gallery.controller

import me.nalab.core.exception.handler.ErrorTemplate
import me.nalab.gallery.app.GalleryGetApp
import me.nalab.gallery.app.GalleryPreviewApp
import me.nalab.gallery.app.GalleryRegisterApp
Expand Down

0 comments on commit adedc21

Please sign in to comment.